home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20041116-20060924 / 000159_dold@XReXXWeird.usenet.us.com_Mon Oct 3 14:46:40 2005.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!nntp.abs.net!newspeer.monmouth.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!wasp.rahul.net!192.160.13.20.MISMATCH!rahul.net!not-for-mail
  2. From: dold@XReXXWeird.usenet.us.com
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Weird behavior from Kermit 95
  5. Date: Mon, 3 Oct 2005 02:37:52 +0000 (UTC)
  6. Organization: "a2i network"
  7. Lines: 31
  8. Sender: Clarence Dold <dold@green.rahul.net>
  9. Message-ID: <dhq5i0$923$1@blue.rahul.net>
  10. References: <ur7b4rpg9.fsf@att.net> <dhp6eq$7b9$2@blue.rahul.net> <dhptm0$ceq$1@reader1.panix.com>
  11. NNTP-Posting-Host: green.rahul.net
  12. X-Trace: blue.rahul.net 1128307072 9283 192.160.13.49 (3 Oct 2005 02:37:52 GMT)
  13. X-Complaints-To: support@rahul.net
  14. NNTP-Posting-Date: Mon, 3 Oct 2005 02:37:52 +0000 (UTC)
  15. X-Comment: Encoded From: line allows replies that preserve original subject
  16. User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (Linux/2.4.20-30.7.legacysmp (i686))
  17. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15402
  18.  
  19. Ed Ravin <eravin@panix.com> wrote:
  20.  
  21. > Restarting the daemon with ">/dev/null 2>&1 </dev/null" fixes this.  Fixing
  22. > the Linux startup scripts would be a better way to fix it.
  23.  
  24. That's an interesting side thought.
  25. If I run a nohup, I redirect output, but not input.
  26. Maybe that's the hang.
  27. Lemme see...
  28.  
  29. 132$ nohup sleep 500 > /dev/null < /dev/null &
  30. [1] 30912
  31. green:~
  32. 133$ exit
  33.  
  34. Nope.  That hangs...
  35. I forgot "2".
  36.  
  37. 132$ nohup sleep 500 > /dev/null 2>&1 < /dev/null &
  38. [1] 30912
  39. green:~
  40. 133$ exit
  41.  
  42.  
  43. That exits.
  44. Good.  Nothing to do with Kermit, though.
  45.  
  46. -- 
  47. ---
  48. Clarence A Dold - Hidden Valley (Lake County) CA USA  38.8,-122.5
  49.